package com.ninthgroup.service;

import com.ninthgroup.entity.Condition;
import com.ninthgroup.entity.MessageBooking;
import com.ninthgroup.vo.Result;

public interface ConditionService {


    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:查询所有病例
     * @create time: 2022/11/4 15:19
     * @param
     * @return com.ninthgroup.vo.Result
     */
    Result selectAll();

    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:增加
     * @create time: 2022/11/4 15:19
     * @param condition
     * @return com.ninthgroup.vo.Result
     */
    Result insertAdd(Condition condition);



    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:删除
     * @create time: 2022/11/4 15:20
     * @param cId
     * @return com.ninthgroup.vo.Result
     */
    Result del(Integer cId);


    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:修改
     * @create time: 2022/11/4 15:20
     * @param condition
     * @return com.ninthgroup.vo.Result
     */
    Result update(Condition condition);



    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:连表更新病例的建议
     * @create time: 2022/11/4 15:20
     * @param condition
     * @return com.ninthgroup.vo.Result
     */
    Result updateOneAdvise(Condition condition);


    /**
     * fetch data by show
     * @create by: 1452863884@qq.com rcg
     * @description:根据ID查找单条病例
     * @create time: 2022/11/4 15:20
     * @param cId
     * @return com.ninthgroup.vo.Result
     */
    Result selectOne(Integer cId);
}
